package com.supermarket.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.supermarket.business.domain.SupermarketWarehouseManager;
import com.supermarket.business.vo.SupermarketWarehouseManagerVO;

import java.util.List;

/**
 * 仓库管理员Service接口
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
public interface ISupermarketWarehouseManagerService extends IService<SupermarketWarehouseManager>
{
    /**
     * 查询仓库管理员
     * 
     * @param managerId 仓库管理员主键
     * @return 仓库管理员
     */
    public SupermarketWarehouseManager selectSysWarehouseManagerByManagerId(Long managerId);

    /**
     * 查询仓库管理员列表
     * 
     * @param supermarketWarehouseManager 仓库管理员
     * @return 仓库管理员集合
     */
    public List<SupermarketWarehouseManager> selectSysWarehouseManagerList(SupermarketWarehouseManager supermarketWarehouseManager);

    /**
     * 新增仓库管理员
     * 
     * @param supermarketWarehouseManager 仓库管理员
     * @return 结果
     */
    public int insertSysWarehouseManager(SupermarketWarehouseManager supermarketWarehouseManager);

    /**
     * 修改仓库管理员
     * 
     * @param supermarketWarehouseManager 仓库管理员
     * @return 结果
     */
    public int updateSysWarehouseManager(SupermarketWarehouseManager supermarketWarehouseManager);

    /**
     * 批量删除仓库管理员
     * 
     * @param managerIds 需要删除的仓库管理员主键集合
     * @return 结果
     */
    public int deleteSysWarehouseManagerByManagerIds(Long[] managerIds);

    /**
     * 删除仓库管理员信息
     * 
     * @param managerId 仓库管理员主键
     * @return 结果
     */
    public int deleteSysWarehouseManagerByManagerId(Long managerId);

    /**
     * 获取仓库管理员信息VO列表
     * @param supermarketWarehouseManager
     * @return
     */
    List<SupermarketWarehouseManagerVO> selectSysWarehouseManagerListVO(SupermarketWarehouseManager supermarketWarehouseManager);

    /**
     * 获取仓库管理员信息VO
     * @param managerId
     * @return
     */
    SupermarketWarehouseManagerVO selectSysWarehouseManagerVOByManagerId(Long managerId);

    /**
     * 获取当前账户ID
     * @return
     */
    String getNowSysId();
}
